——————————————————————————————————— What’s this all about?
LProgressIndicator & Friends is a progress feedback framework for PowerPlant apps. Included classes:
LProgressIndicator:
Abstract base class. Intended to be used to abstract the actual concrete visual feedback from the component wishing to indicate progress. Using this class in your libraries allows you to change the visual representation of progress in your applications, without changing library code. Supports infinite- and finite-length tasks.
LThermometerPane:
Finder-like progress bar LPane and LProgressIndicator subclass. Uses the user’s window tinge colors, as specified in the Color control panel. For infinite-length tasks, displays a “barberpole” pattern in those colors.
LCursor:
Base class representing the mouse cursor.
LAnimateCursor:
Subclass of LCursor and LProgressIndicator. Supports cursor animation in black & white & color.
LProgressDialog:
Simple Finder "Copy"-like progress dialog using LThermometerPane.
LProgressIndicatorProxy:
Subclass of LProgressIndicator which forwards all method calls to a different caller-specified LProgressIndicator subclass instance.
A sample PowerPlant app is provided, based on one of the many Threads sample apps.
——————————————————————————————————— What’s new in 2.1?
- Features!
• Added LProgressIndicatorProxy.
• Added LProgressDialog.
• Added LCursor (with color cursor support!) and fixed LAnimateCursor.
• Updated test app to test all of the new features.
——————————————————————————————————— What’s new in 2.0.1 (the inevitable)?
- Bug fixes!
• Fixed LThermometerPane to call FocusDraw in ValueChanged().
This ensures we always draw in the intended port.
• Fixed a bug in the demo app - Metrowerks' fault! ha!
• The minimum value is now actually used!
• LThermometerPane doesn’t bother to recalculate the right
side of the fillrect when the task length is indeterminate
(eg there’s no sense in recalculating something never used)
• LProgressIndicator::SetCurrentValue() now thresholds to
the min and max values. (eg You can’t overflow the end
of the progress bar anymore).
• Added some debugging code in obvious places.
——————————————————————————————————— What’s new in 2.0?
- Added methods for instantiating LThermometerPane from a stream/PPob resource.
- Just generally cleaned up everything, really.
- Fixed all known bugs.
- Fixed the namespace and added necessary accessors.
- LArray instead of LDynamicArray.
- Renamed CursorSet to LAnimateCursor.
- Added sample app w/source.
——————————————————————————————————— What’s next?
- Probably a spinning arrows pane, like those in Find File or PowerTalk
or Finder 8.0. Wicked.
——————————————————————————————————— Who’s responsible for this?
LProgressIndicator is copyrighted 1995-1996 Chris K. Thomas. All Rights Reserved. You use this software at your own risk, etc. Reach me at ckt@best.com. Suggestions, comments, questions, and cash welcome. You're
free to use it anywhere you like. You may not resell the source code alone
for profit without my explicit permission.
——————————————————————————————————— Surely that can’t be everyone!
And it isn't. LProgressIndicator exists in it's present well-oiled
state partly because of these gentlefolk, in reverse chronological order: